Declare Function CreateDC Lib "GDI" (ByVal Driver$, ByVal Dev&, ByVal O&, ByVal init&) As Integer
Declare Function DeleteDC Lib "GDI" (ByVal dc As Integer) As Integer
Declare Sub DrawFocusRect Lib "User" (ByVal hDC As Integer, lpRect As apiRect)
Declare Function GetKeyState Lib "User" (ByVal nVirtKey As Integer) As Integer
Declare Function BitBlt Lib "GDI" (ByVal hDestDC As Integer, ByVal X As Integer, ByVal Y As Integer, ByVal nWidth As Integer, ByVal nHeight As Integer, ByVal hSrcDC As Integer, ByVal XSrc As Integer, ByVal YSrc As Integer, ByVal dwRop As Long) As Integer
Declare Function GetTickCount Lib "user" () As Long
Declare Function DrawIcon Lib "User" (ByVal hDC As Integer, ByVal X As Integer, ByVal Y As Integer, ByVal hIcon As Integer) As Integer
Declare Sub GetWindowRect Lib "User" (ByVal hWnd As Integer, lpRect As apiRect)
Declare Sub GetCursorPos Lib "User" (sPoint As apiPoint)
Declare Function GetMenu Lib "User" (ByVal hWnd As Integer) As Integer
Declare Sub ClipCursor Lib "User" (lpRect As apiRect)
Declare Sub SetWindowPos Lib "User" (ByVal hWnd As Integer, ByVal hWndInsertAfter As Integer, ByVal X As Integer, ByVal Y As Integer, ByVal cx As Integer, ByVal cy As Integer, ByVal wFlags As Integer)
Sub MakeLowerStatusBar (Bar As PictureBox)
Dim OldParentMode As Integer, MyOldMode As Integer, MDICorr As Integer
Dim OldRedraw As Integer, wRect As apiRect, Col As Long
If Bar.Align = 2 Then
OldRedraw = Bar.AutoRedraw
Bar.AutoRedraw = True
Bar.BackColor = BUTTON_FACE'GetSysColor(15)
Bar.BorderStyle = False
GetWindowRect Bar.hWnd, wRect
MyOldMode = Bar.ScaleMode
Bar.ScaleMode = 3
Col = GetSysColor(20)
Bar.Line (0, 1)-(wRect.right - wRect.left, 1), Col
Bar.Line (0, 2)-(0, wRect.bottom - wRect.top), Col